package ooday05.homework;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point point = new Point();
        point.setX(500);
        point.setY(600);
        System.out.println(point.getX());
        System.out.println(point.getY());

        System.out.println(point.a);
        System.out.println(point.b);
        System.out.println(point.c);
//        System.out.println(point.d);

    }
}
